package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "track")
public class Track {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "name")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> name = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "clipitem")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Clipitem> clipitem = new ArrayList<Clipitem>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "transitionitem")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Transitionitem> transitionitem = new ArrayList<Transitionitem>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "generatoritem")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Generatoritem> generatoritem = new ArrayList<Generatoritem>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "enabled")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> enabled = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "locked")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> locked = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "outputchannelindex")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> outputchannelindex = new ArrayList<String>();

}
